package com.sunwayworld.basemodule.samplemanage.samplestaging.resource;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.samplemanage.samplestaging.bean.LimsSampleStagingBean;
import com.sunwayworld.basemodule.samplemanage.samplestaging.service.LimsSampleStagingService;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import com.sunwayworld.framework.support.choosable.resource.GenericChoosableResource;

@RequestMapping("/secure/basemodule/samplemanage/sample-stagings")
public interface LimsSampleStagingResource extends GenericResource<LimsSampleStagingService, LimsSampleStagingBean, Long>, GenericChoosableResource<LimsSampleStagingService, LimsSampleStagingBean, Long> {

    @PostMapping(value = "/change-status")
    JSONObject changeStatus(RestJsonWrapperBean wrapperBean);
}
